import React, { useEffect } from 'react'
import { NavBar, Card } from 'antd-mobile'
import Banner from '../../components/Banner'
import PeriodSelector from './components/PeriodSelector'
import NumberOfTimes from './components/NumberOfTimes'
import SumOfTimes from './components/SumOfTimes'
import TopTabs from '../../components/TopTabs'

function PageAnalysis() {
    return (
        <>
            <TopTabs />
            <Card title="期数选择" className="card-margin-top">
                <PeriodSelector />
            </Card>
            <Card title="数字分布" className="card-margin-top">
                <NumberOfTimes />
            </Card>
            <Card title="和值分布" className="card-margin-top">
                <SumOfTimes />
            </Card>

        </>
    )
}

export default PageAnalysis